STM32CubeMX adds incorrect value to XTAL 您所在的位置:网站首页 keil target xtal STM32CubeMX adds incorrect value to XTAL

STM32CubeMX adds incorrect value to XTAL

2024-07-09 15:57| 来源: 网络整理| 查看: 265

Hello @Khouloud ZEMMELI​ ,

I am not sure whether you have access to ARM / Keil's MDK-ARM compiler.

Once the IOC file is opened with the STM32CubeMX tool and code generated, a folder named MDK-ARM is created which has a file named USART-Test.uvprojx.

I open this file with help of Keil's IDE. Then in project pane I right click the text USART3-TEST which is next to folder symbol and then click on options for Target 'USART3-Test' (shortcut Alt+F7).

Under Target Tab there is this Xtal (MHz) Text box, which shows the value as 240.0 and not 25.0

I assume the reason for this issue is that the helper file / settings file USART3-Test.uvoptx is being appended with an incorrect tag value:

240000000

which should rather be:

25000000

Regards,

Rajeev



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有